package com.ruoyi.ora.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 点赞对象 ora_assets_like
 * 
 * @author liuwp
 * @date 2025-04-10
 */
public class AssetsLike extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 赞类型 */
    @Excel(name = "赞类型", dictType = "ora_assets_type")
    private Integer likeType;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 资产id */
    @Excel(name = "资产id")
    private Long assetsId;

    private SysUser sysUser;

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLikeType(Integer likeType) 
    {
        this.likeType = likeType;
    }

    public Integer getLikeType() 
    {
        return likeType;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAssetsId(Long assetsId) 
    {
        this.assetsId = assetsId;
    }

    public Long getAssetsId() 
    {
        return assetsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("likeType", getLikeType())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("assetsId", getAssetsId())
            .toString();
    }
}
